package com.site.wisdom_construction.service.iotModule;

import com.site.wisdom_construction.dao.iotModule.CarWashDao;
import com.site.wisdom_construction.entity.iotModule.CarWash;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2021/12/21
 * @Description
 */
@Service
public class CarWashService implements CarWashDao {
    @Autowired
    private CarWashDao carWashDao;

    @Override
    public int insertCarWash(Map map) {
        return carWashDao.insertCarWash(map);
    }

    @Override
    public int deleteCarWash(Map map) {
        return carWashDao.deleteCarWash(map);
    }

    @Override
    public CarWash findCarWashByNew(Map map) {
        return carWashDao.findCarWashByNew(map);
    }

    @Override
    public List<CarWash> findCarWashByAll(Map map) {
        return carWashDao.findCarWashByAll(map);
    }

    @Override
    public List<CarWash> countCarWashByAlarmType(Map map) {
        return carWashDao.countCarWashByAlarmType(map);
    }

    @Override
    public List<CarWash> countCarWashByWCX(Map map) {
        return carWashDao.countCarWashByWCX(map);
    }

    @Override
    public List<CarWash> countCarWashByRX(Map map) {
        return carWashDao.countCarWashByRX(map);
    }

    @Override
    public List<CarWash> countCarWashByJCTJ(Map map) {
        return carWashDao.countCarWashByJCTJ(map);
    }

    @Override
    public List<CarWash> findCarWashByPage(Map map) {
        return carWashDao.findCarWashByPage(map);
    }

    @Override
    public long Total(Map map) {
        return carWashDao.Total(map);
    }
}
